home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / libs / f2c / libf77 / c_abs.c < prev    next >
C/C++ Source or Header  |  1994-05-06  |  219b  |  15 lines

  1. #include "f2c.h"
  2.  
  3. #ifdef KR_headers
  4. extern double f__cabs();
  5.  
  6. double c_abs(z) complex *z;
  7. #else
  8. extern double f__cabs(double, double);
  9.  
  10. double c_abs(complex *z)
  11. #endif
  12. {
  13. return( f__cabs( z->r, z->i ) );
  14. }
  15.